<style type="text/css">
    .pop input,.pop select {
        margin:5px 0; padding:5px 2%;
        width:76%; border:1px solid #f0f0f0;
    }
    .pop .formLeft { text-align:left; }
</style>
<input type="hidden" id="_token" value="{{csrf_token()}}">
<div class="am-modal am-modal-alert" tabindex="-1" id="eduAdd">
    <div class="am-modal-dialog">
        <div class="am-modal-bd pop">
            <input type="hidden" id="key" value="0">
            起始时间：
            <input type="text" class="doc-datepicker"
                   id="eduBgStart" placeholder="选择时间，如：2019-01-01"
                    {{--onclick="getDateByKey('#eduAdd #eduBgStart')"--}}
            >
            <br>
            结束时间：
            <input type="text" class="doc-datepicker"
                   id="eduBgEnd" placeholder="选择时间，如：2019-01-01"
                    {{--onclick="getDateByKey('#eduAdd #eduBgEnd')"--}}
            >
            <br>
            毕业学校：
            <input type="text" id="eduBgSchool" placeholder="输入学校">
            <br>
            毕业专业：
            <input type="text" id="eduBgMajor" placeholder="输入专业">
            <br>
            所获奖项：
            <input type="text" id="eduBgAward" placeholder="输入奖项，多个奖项用中文逗号，隔开">
            <br>(多个奖项用中文顿号、隔开)
            <p id="popEduAddMsg" style="color:red;"></p>
        </div>
        <div class="am-modal-footer">
            <span class="am-modal-btn">关闭</span>
                <span style="color:#0088cc;cursor:pointer;"
                      onclick="setAddEdu()">保存</span>
        </div>
    </div>
</div>
<div class="am-modal am-modal-alert" tabindex="-1" id="eduModify">
    <div class="am-modal-dialog">
        <div class="am-modal-bd pop">
            <input type="hidden" id="key" value="0">
            起始时间：
            <input type="text" id="eduBgStart"
                   placeholder="选择时间，如：2019-01-01">
            <br>
            结束时间：
            <input type="text" id="eduBgEnd"
                   placeholder="选择时间，如：2019-01-01">
            <br>
            毕业学校：
            <input type="text" id="eduBgSchool" placeholder="输入学校"
                   value="0">
            <br>
            毕业专业：
            <input type="text" id="eduBgMajor" placeholder="输入专业"
                   value="0">
            <br>
            所获奖项：
            <input type="text" id="eduBgAward"
                   placeholder="输入奖项，多个奖项用中文逗号，隔开"
                   value="0">
            <br>(多个奖项用中文顿号、隔开)
            <p id="popEduEditMsg" style="color:red;"></p>
        </div>
        <div class="am-modal-footer">
            <span class="am-modal-btn">关闭</span>
                <span style="color:#0088cc;cursor:pointer;"
                      onclick="updateEdu()">修改</span>
        </div>
    </div>
</div>
<div class="am-modal am-modal-alert" tabindex="-1" id="workAdd">
    <div class="am-modal-dialog">
        <div class="am-modal-bd pop">
            <input type="hidden" id="key" value="0">
            起始时间：
            <input type="text" id="workStart"
                   placeholder="选择时间，如：2019-01-01">
            <br>
            结束时间：
            <input type="text" id="workEnd"
                   placeholder="选择时间，如：2019-01-01">
            <br>
            公司名称：
            <input type="text" id="workComName" placeholder="输入公司名称">
            <br>
            岗位名称：
            <input type="text" id="workJob" placeholder="输入岗位名称">
            <br>
            离职原因：
            <input type="text" id="workLeave" placeholder="输入离职原因">
            <p id="popWorkAddMsg" style="color:red;"></p>
        </div>
        <div class="am-modal-footer">
            <span class="am-modal-btn">关闭</span>
                <span style="color:#0088cc;cursor:pointer;"
                      onclick="setAddWork()">保存</span>
        </div>
    </div>
</div>
<div class="am-modal am-modal-alert" tabindex="-1" id="workModify">
    <div class="am-modal-dialog">
        <div class="am-modal-bd pop">
            <input type="hidden" id="key" value="0">
            起始时间：
            <input type="text" id="workStart"
                   placeholder="选择时间，如：2019-01-01">
            <br>
            结束时间：
            <input type="text" id="workEnd"
                   placeholder="选择时间，如：2019-01-01">
            <br>
            公司名称：
            <input type="text" id="workComName" placeholder="输入公司名称">
            <br>
            岗位名称：
            <input type="text" id="workJob" placeholder="输入岗位名称">
            <br>
            离职原因：
            <input type="text" id="workLeave" placeholder="输入离职原因">
            <p id="popWorkEditMsg" style="color:red;"></p>
        </div>
        <div class="am-modal-footer">
            <span class="am-modal-btn">关闭</span>
                <span style="color:#0088cc;cursor:pointer;"
                      onclick="updateWork()">修改</span>
        </div>
    </div>
</div>
<div class="am-modal am-modal-alert" tabindex="-1" id="familyAdd">
    <div class="am-modal-dialog">
        <div class="am-modal-bd pop">
            <input type="hidden" id="key" value="0">
            成员姓名：
            <input type="text" id="familyName" placeholder="成员姓名">
            <br>
            成员称谓：
            <input type="text" id="familyCall" placeholder="成员称谓">
            <br>
            所在公司：
            <input type="text" id="familyCom" placeholder="输入所在公司">
            <br>
            联系方式：
            <input type="text" id="familyContact" placeholder="输入联系方">
            <p id="popFamilyAddMsg" style="color:red;"></p>
        </div>
        <div class="am-modal-footer">
            <span class="am-modal-btn">关闭</span>
                <span style="color:#0088cc;cursor:pointer;"
                      onclick="setAddFamily()">保存</span>
        </div>
    </div>
</div>
<div class="am-modal am-modal-alert" tabindex="-1" id="familyModify">
    <div class="am-modal-dialog">
        <div class="am-modal-bd pop">
            <input type="hidden" id="key" value="0">
            成员姓名：
            <input type="text" id="familyName" placeholder="成员姓名">
            <br>
            成员称谓：
            <input type="text" id="familyCall" placeholder="成员称谓">
            <br>
            所在公司：
            <input type="text" id="familyCom" placeholder="输入所在公司">
            <br>
            联系方式：
            <input type="text" id="familyContact" placeholder="输入联系方">
            <p id="popFamilyEditMsg" style="color:red;"></p>
        </div>
        <div class="am-modal-footer">
            <span class="am-modal-btn">关闭</span>
            <span style="color:#0088cc;cursor:pointer;" onclick="updateFamily()">修改</span>
        </div>
    </div>
</div>
<div class="am-modal am-modal-alert" tabindex="-1" id="commentModify">
    <div class="am-modal-dialog">
        <div class="am-modal-bd pop">
            个人优势：
            <input type="text" id="comFeature" placeholder="输入个人优势">
            <br>
            专业技能：
            <input type="text" id="comSkill" placeholder="输入专业技能">
            <br>
            兴趣爱好：
            <input type="text" id="comHobby" placeholder="输入兴趣爱好">
            <br>
            企业期待：
            <input type="text" id="comExpect" placeholder="输入企业期待">
            <br>
            业务需求：
            {{--<p id="jobType"></p>--}}
            <select id="jobType"></select>
            <br>
            技术等级：
            {{--<p id="skill"></p>--}}
            <select id="skill"></select>
            <p id="popCommentEditMsg" style="color:red;"></p>
        </div>
        <div class="am-modal-footer">
            <span class="am-modal-btn">关闭</span>
            <span style="color:#0088cc;cursor:pointer;" onclick="updateComment()">修改</span>
        </div>
    </div>
</div>
<div class="am-modal am-modal-alert" tabindex="-1" id="facWillModify">
    <div class="am-modal-dialog">
        <div class="am-modal-bd pop">
            <div class="formLeft">面料种类：</div>
            <div class="formLeft" id="fabricDiv"></div>
            <hr>
            <div class="formLeft">技术等级：</div>
            <div class="formLeft" id="techDiv"></div>
            <hr>
            <div class="formLeft">擅长技能：</div>
            <div class="formLeft" id="skillDiv"></div>
            <p id="popFacWillEditMsg" style="color:red;"></p>
        </div>
        <div class="am-modal-footer">
            <span class="am-modal-btn">关闭</span>
            <span style="color:#0088cc;cursor:pointer;" onclick="updateFacWill()">修改</span>
        </div>
    </div>
</div>
<div class="am-modal am-modal-alert" tabindex="-1" id="comWillModify">
    <div class="am-modal-dialog">
        <div class="am-modal-bd pop" style="height:400px;overflow:auto;">
            <div class="formLeft">
                工作地点：
                <span id="addressStr"></span>
            </div>
            <div class="formLeft" id="addressDiv"></div>
            <hr>
            <div class="formLeft">职能：</div>
            <div class="formLeft" id="jobModuleDiv"></div>
            <hr>
            <div class="formLeft">职位：</div>
            <div class="formLeft" id="jobDiv"></div>
            <hr>
            <div class="formLeft">薪资：</div>
            <div class="formLeft" id="salaryDiv"></div>
            <hr>
            <div class="formLeft">工作类型：</div>
            <div class="formLeft" id="workTypeDiv"></div>
            <hr>
            <div class="formLeft">所属行业：</div>
            <div class="formLeft" id="industryDiv"></div>
            <hr>
            <div class="formLeft">到岗时间：</div>
            <div class="formLeft" id="jobTimeDiv"></div>
            <hr>
            <div class="formLeft">个人标签：</div>
            <div class="formLeft" id="tagDiv"></div>
            <p id="popComWillEditMsg" style="color:red;"></p>
        </div>
        <div class="am-modal-footer">
            <span class="am-modal-btn">关闭</span>
            <span style="color:#0088cc;cursor:pointer;" onclick="updateComWill()">修改</span>
        </div>
    </div>
</div>
<div class="am-modal am-modal-alert" tabindex="-1" id="fileModify">
    <div class="am-modal-dialog">
    <form action="{{$prefix_url}}/option/file-set"
          class="am-form" method="POST" enctype="multipart/form-data">
        <input type="hidden" name="_token" value="{{csrf_token()}}">
        <input type="hidden" name="_method" value="POST">
        <input type="hidden" name="uid" value="{{$uid}}">
        <input type="hidden" name="fileId" value="0">
        <input type="hidden" name="fileKey" value="">
        <input type="hidden" name="prefix" value="{{$_SERVER['REQUEST_URI']}}">
        <div class="am-modal-bd pop">
            <span id="fileName">本人照片</span>
            <input type="file" name="fileUrl">
            <p id="popComWillEditMsg" style="color:red;"></p>
        </div>
        <div class="am-modal-footer">
            <span class="am-modal-btn">关闭</span>
            <button type="submit"
                    style="color:#0088cc;cursor:pointer;
                        padding:10px 0;width:100%;border:0;background:0;">
                更新
            </button>
        </div>
    </form>
    </div>
</div>